SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 63650: Exception occurs in the SAS® Add-In for Microsoft Office when attempting to open a table within Microsoft Excel

DetailsHotfixAboutRate It

When attempting to open a table within Microsoft Excel using the SAS Add-In for Microsoft Office, you might receive the following error:

SAS Add-In
Unable to open "SASApp:ORALIB.CLASS".
The object invoked has disconnected from its clients. (Exception from HRESULT:
0x80010108 (RPC_E_DISCONNECTED))
--------------------------------------------------------------------------------
Exception information
--------------------------------------------------------------------------------
The object invoked has disconnected from its clients. (Exception from HRESULT:
0x80010108 (RPC_E_DISCONNECTED))
-------------------------- Technical Information Follows--------------------------
Exception Details:
----------------------------------------
Exception type:  System.Runtime.InteropServices.COMException
Message:         The object invoked has disconnected from its clients.
(Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))
Source:          mscorlib
Target Site:     EndInvokeHelper

Stack Trace:

Server stack trace:
   at SAS.LibrefClass.LevelInfo(Array& FieldInclusionMask, Array& EngineName,
Array& EngineAttrs, Array& LibraryAttrs, Array& PhysicalName, Array&
InfoPropertyNames, Array& InfoPropertyValues)
   at SAS.Servers.DataLibrary.GetLibraryInfo(IList`1& enginesResolved, IList`1&
enginesUnresolved, Boolean& isDbms, Boolean& keepAllDataInMemory)
   at SAS.Servers.DataLibrary.Connect()
   at SAS.Servers.Dataset.Open(Boolean readOnly)
   at SAS.Servers.Dataset.Open()
   at SAS.OfficeAddin.OfficeAddinBase.OpenDatasetWithPasswordPrompt(Dataset
dataset, Boolean readOnly)
   at SAS.OfficeAddin.SasDataSource.OpenProc(Boolean readOnly)
   at SAS.OfficeAddin.SasDataSource.OpenProc()
   at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Object[]& outArgs)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage
msg, IMessageSink replySink)

 

This typically happens for DBMS libraries that are not pre-assigned.

To avoid this problem, you can take one of the following actions:

  • Pre-assign the library within SAS® Management Console.
  • Submit the metadata LIBNAME statement within the SAS Programs window in the SAS Add-In.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Add-in for Microsoft OfficeMicrosoft® Windows® for x648.08.19.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit8.08.19.4 TS1M5
Microsoft Windows 8 Pro 32-bit8.08.19.4 TS1M5
Microsoft Windows 8 Enterprise x648.08.19.4 TS1M5
Microsoft Windows 8 Pro x648.08.19.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit8.08.19.4 TS1M5
Microsoft Windows 8.1 Enterprise x648.08.19.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit8.08.19.4 TS1M5
Microsoft Windows 8.1 Pro x648.08.19.4 TS1M5
Microsoft Windows 108.08.19.4 TS1M5
Microsoft Windows 95/988.0
Microsoft Windows 2000 Advanced Server8.0
Microsoft Windows 2000 Datacenter Server8.0
Microsoft Windows 2000 Server8.0
Microsoft Windows 2000 Professional8.0
Microsoft Windows NT Workstation8.0
Microsoft Windows Server 2003 Datacenter Edition8.0
Microsoft Windows Server 2003 Enterprise Edition8.0
Microsoft Windows Server 2003 Standard Edition8.0
Microsoft Windows Server 2003 for x648.0
Microsoft Windows Server 20088.08.19.4 TS1M5
Microsoft Windows Server 2008 R28.08.19.4 TS1M5
Microsoft Windows Server 2008 for x648.08.19.4 TS1M5
Microsoft Windows Server 2012 Datacenter8.08.19.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter8.08.19.4 TS1M5
Microsoft Windows Server 2012 R2 Std8.08.19.4 TS1M5
Microsoft Windows Server 2012 Std8.08.19.4 TS1M5
Microsoft Windows Server 20168.08.19.4 TS1M5
Microsoft Windows Server 20198.0
Microsoft Windows XP Professional8.0
Windows 7 Enterprise 32 bit8.08.19.4 TS1M5
Windows 7 Enterprise x648.08.19.4 TS1M5
Windows 7 Home Premium 32 bit8.08.19.4 TS1M5
Windows 7 Home Premium x648.08.19.4 TS1M5
Windows 7 Professional 32 bit8.08.19.4 TS1M5
Windows 7 Professional x648.08.19.4 TS1M5
Windows 7 Ultimate 32 bit8.08.19.4 TS1M5
Windows 7 Ultimate x648.08.19.4 TS1M5
Windows Millennium Edition (Me)8.0
Windows Vista8.0
Windows Vista for x648.0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.